package com.bootdo.system.service;

import com.bootdo.common.utils.R;
import com.bootdo.system.domain.GuessDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author huizhang
 * @email 
 * @date 2021-04-09 13:43:45
 */
public interface GuessService {
	
	GuessDO get(Long id);
	
	List<GuessDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	R save(GuessDO guess);
	
	R update(GuessDO guess);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	/**
	 * 设置密码
	 * @param guess
	 */
    void setAnswer(GuessDO guess);

	R updateState(GuessDO guess);
}
